package com.bbc.service.type;

import java.util.List;

import com.bbc.entity.type.BbcType;
import com.bbc.entity.type.BbcTypeQuery;

public interface BbcTypeService {
	
	Integer addBbcType(BbcType bbcType);
	BbcType findBbcTypeById(Integer typeId);
	List<BbcType> findBbcType(BbcTypeQuery query);
	List<BbcType> findBbcType(BbcTypeQuery query,int page,int pageSize);
	int findBbcTypeCount(BbcTypeQuery query);
	void updateBbcType(BbcType bbcType);
	List<BbcType> findBbcType(Integer level);
	List<BbcType> findBbcTypeByParent(Integer parentId);

}
